extends ./index.jade

block content
	.rightSide
		.container-fluid
			.row
				a#return.btn.btn-primary(role='button' href='/views/canteen_manage.html') 返回
			.row
				h3.col-sm-offset-2 修改食堂
			.row
				.form-group
						label.col-sm-1(for='fileu') 照片
						.col-sm-5
							img#preview
							label(for='fileu').btn.btn-default 选择图片
							input(type='file' id='fileu' accept="image/*").hide
							label#errorMessage 文件类型出错，请选择图片...
			.row
				form#change_canteen.form.form-horizontal
					.form-group
						label.col-sm-1(for='shop_name') 食堂名称
						.col-sm-5
							input#shop_name.form-control(type='text' placeholder='请输入食堂名称' required)
					.form-group
						label.col-sm-1(for='shop_url') 有赞地址
						.col-sm-5
							input#shop_url.form-control(type='text' placeholder='请输入有赞地址' required)
					
					.form-group
						label.col-sm-1(for='youzan_group_id') 有赞分组ID
						.col-sm-5
							input#youzan_group_id.form-control(type='text' placeholder='请输入有赞分组ID' required)
					.form-group
						label.col-sm-1(for='master_id') 堂主
						.col-sm-5
							input#master_id.form-control(type='text' placeholder='请输入堂主' )
					.form-group
							button.btn.btn-primary.search-left(type='submit' ) 修改


	script(src="/js/lib/require.js" data-main="/js/change_canteen")